<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/css/work_today.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<link rel="stylesheet" href="${staticServer}/css/consultant_client_tracking.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<link rel="stylesheet" href="${staticServer}/css/consultant_client.css" />
<link rel="stylesheet" href="${staticServer}/css/consultant_client_tracking.css" />
<link rel="stylesheet" href="${staticServer}/css/consultant_student_read.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/model_resp.js"></script>
<script src="${staticServer}/inc/js/datepicker.js"></script>
<script src="${staticServer}/inc/js/htmlfilter.js"></script>
<script src="${staticServer}/inc/js/submitter.js"></script>
<script src="${staticServer}/inc/js/tips.js"></script>
<style type="text/css">
#statelist label {
	display: block;
	float: left;
	width: 120px;
}
</style>
<script>
$(function(){
});

function submit(){
	window.location.href="${contextPath}/achieve/yuyue_daofang.htm?time="+$("#time").val();
}


function XZjdyy(){
	var time = $("#time").val();
	
	if(time==""){
		alert("时间不能为空");
		return;
	}
	$.post('${contextPath}/achieve/yuyue_daofangXZ.json',{
		time:time
	},function(data){
		if(data){
			if(data.name!=null){
				window.location.href = "http://120.55.241.58//mydata/uploadtea/xls/"+data.name;
			}
		}
	});
}
</script>
</head>

<body>
<input type="hidden" id="keyname" value="">
<input type="hidden" id="traId" value="">
	<div id="home_link">
		<ul>
			<li></li>
			<li>&gt;</li>
			<li>咨询师模块</li>
			<li>&gt;</li>
			<li class="current">客户资源列表</li>
		</ul>
	</div>
	<div id="container">
		<div id="title"></div>
		<table class="form_table">
			<tr>
				<td>
					<div style="overflow: hidden;">
						<label><b>查询条件：</b></label>
						<label for="start_date">日期：</label>
						<input type="text" id="time" size="15" value="${time}" rel="DATE::Y-m" /> 
						<input type="button" value=" 查 询 " onclick="submit()" />
						<input type="button" value=" 下 载 " onclick="XZjdyy()" />
					</div>
				</td>
			</tr>
		</table>
		<table style="width:1000px;">
			<tr class="fields">
				<th style="width:200px;">中心地址</th>
				<th style="width:100px;">预约人</th>
				<th>接待人个数</th>
				<th style="width:100px;">总数</th>
			</tr>
			<#if uList??>
				<#list uList as list>
				<tr class="even_row">
					<td align="center">${list.regions}</td>
					<td align="center">${list.nickname}</td>
					<td align="center">${list.totrate}</td>
					<td align="center">${list.zonCount}</td>
            	</tr>
            	</#list>
			</#if>
		</table>
	</div>
	<div class="emptyline"></div>
	
</body>
</html>